package com.piao.springboot_scheduled_jsoup.Entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

//点击菜品进入详情页面需要的数据类
public class FoodStepsBean implements Serializable {
    public static String picUrl;//菜的图片url
    public static String courseUrl;//教程
    public static String foodName;//菜名
    public static String foodMaterials;//食材
    public static String[] foodInforArr=new String[4];//菜品4个信息：口味 工艺 耗时 难度
    public static List<String> materialQuantityList = new ArrayList<>();//由于每个菜品食材数量不同，所以采用长度可变的ArrayList
    public  static List<String> stepList = new ArrayList<>();//由于每个菜品做法步骤数量不同，所以采用长度可变的ArrayList
    public static List<String> stepPicList = new ArrayList<>();//由于每个菜品做法步骤数量不同，所以采用长度可变的ArrayList

    //同FoodBean只需生成GET方法，构造函数已经初始化完成且不需改动
    public String getPicUrl() {
        return picUrl;
    }

    public String getCourseUrl() {
        return courseUrl;
    }

    public String getFoodName() {
        return foodName;
    }

    public String getFoodMaterials() {
        return foodMaterials;
    }

    public  String[] getFoodInforArr() {
        return foodInforArr;
    }

    public List<String> getMaterialQuantityList() {
        return materialQuantityList;
    }

    public List<String> getStepList() {
        return stepList;
    }

    public List<String> getStepPicList() {
        return stepPicList;
    }

    //generate自动生成的构造函数，选中全部参数
    public FoodStepsBean(String picUrl, String foodName, String foodMaterials, String courseUrl,
                         String[] foodInforArr, List<String> materialQuantityList, List<String> stepList, List<String> stepPicList
    ) {
        this.picUrl = picUrl;
        this.foodName = foodName;
        this.foodMaterials = foodMaterials;
        this.courseUrl=courseUrl;
        this.foodInforArr=foodInforArr;
        this.materialQuantityList=materialQuantityList;
        this.stepList=stepList;
        this.stepPicList=stepPicList;
    }
}
